package com.google.code.netbuilder.dal.entities;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder = {"id", "type", "isBroken", "numberOfPorts"}, 
                         name = "Cable")
@XmlAccessorType(XmlAccessType.FIELD)
public class Cable {

	Integer id;
	String type;
	int isBroken;
	Integer numberOfPorts;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getIsBroken() {
		return isBroken;
	}

	public void setIsBroken(int isBroken) {
		this.isBroken = isBroken;
	}

	public Integer getNumberOfPorts() {
		return numberOfPorts;
	}

	public void setNumberOfPorts(Integer numberOfPorts) {
		this.numberOfPorts = numberOfPorts;
	}

}
